package com.hyk.service.impl;


import com.alipay.api.AlipayApiException;
import com.hyk.entity.AlipayBean;
import com.hyk.service.PayService;
import com.hyk.utils.AlipayUtil;
import org.springframework.stereotype.Service;

@Service("aliPayOrderService")
public class PayServiceImpl implements PayService {

    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return AlipayUtil.connect(alipayBean);
    }
}
